package com.yb.guigu.pick.core.constant;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/6/11 20:48
 * FileName: RabbitMQConstant
 * Description:
 */
public class RabbitMQConstant {
    public static class EmailQueueConstant{
        public static final String QUEUE="email-queue";
        public static final String BINDING="email-binding";
        public static final String EXCHANGE="email-exchange";
        public static final String ROUTING_KEY="email";
    }


    public static class BackupMQQueueConstant{
        public static final String QUEUE="backupMQ-queue";
        public static final String BINDING="backupMQ-binding";
        public static final String EXCHANGE="backupMQ-exchange";
        public static final String ROUTING_KEY="backupMQ";
    }

    public static class MobileQueueConstant{
        public static final String QUEUE="mobile-queue";
        public static final String BINDING="mobile-binding";
        public static final String EXCHANGE="mobile-exchange";
        public static final String ROUTING_KEY="mobile";
    }


    public static class MobileMessageQueueConstant {
        public static final String QUEUE="mobile-message-queue";
        public static final String BINDING="mobile-message-binding";
        public static final String EXCHANGE="mobile-message-topic-exchange";
        public static final String ROUTING_KEY="mobile-message-#";

        public static final String ROUTING_KEY_PATTERN="mobile-message-%s";
    }

    //私信队列
    public static class DeadLetterQueueConstant{
        public static final String QUEUE="dead-letter-queue";
        public static final String BINDING="dead-letter-binding";
        public static final String EXCHANGE="dead-letter-exchange";
        public static final String ROUTING_KEY="dead-letter-queue";
    }

}
